package com.changgou.search.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @ClassName feign
 * @Description
 * @Author 洛尘
 * @Date 17:08 2019/11/18
 * @Version 2.1
 **/
@FeignClient(name = "search")
@RequestMapping("/search")
public interface SkuInfoFeign {
    /**
     * @author ShortDust
     * @Description  检索
     * @ClassName SkuSearController
     * @date 2019/11/15 21:08
     * @return
     */
    @GetMapping
    public Map<String, Object> search(@RequestParam(required = false) Map<String, String> searchMap);
}
